<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-model</title>
    <script src="https://unpkg.com/vue@next"></script>
  </head>
  <body>
    <div id="Application">
      <input v-model="inputText" />
      <div>{{ inputText }}</div>
      <button @click="this.inputText = ''">清空</button>
    </div>
  </body>

  <script>
    const App= {
      data(){
        return {
          inputText:""
        }
      }
    }
    Vue.createApp(App).mount("#Application")
  </script>

</html>